package A0428;

    public class Cricle {
        //private  double perimeter;
        //private  double area;
        //private  double r;
        final   double r;
        final private double PI = 3.14;

        public Cricle(double v) {
            r=v;
        }

        public double getArea() {
            return PI * r * r;

        }

        public double getPerimeter() {
            return  2*PI*r;

        }
//       public void setArea(double area) {
//          this.area = area;
//      }
//
//        public void setPerimeter(double perimeter) {
//           this.perimeter = perimeter;
//       }
   }


